package sv.gob.mh.dgii.service.dv;

import sv.gob.mh.dgii.common.SiitConstants;

public interface IDevoluciones extends SiitConstants {

    public final String DV = "DV";
    public static final Integer maxNameLength = 50;
    public static final Integer maxFileSize = 5242880;
    public static final String MIME_TEXT = "text/plain";
    public static final String C_SUSPENSO = "C_SUSPENSO";
    public static final String _MIN_VALUE_USD = "MTO_INICIAL";
    public static final String[] CODES_IVA = {"DEV_IVA", "DEVOLUCION", "DEV_EXP_EX"};
    public static final String[] ROLES_AUTORIZACION = {"DU_999", "DV_R2", "DV_R5", "DV_R7", "DV_R8"};
    public static final String[] FORMULARIOS_AMNISTIA = {"F06", "F07", "F11", "F14"};

    /* CONSTANTES */
    /* POSTEO */
    public static final String DIGITACION_EDA = "01";
    public static final String DIGITACION_DV = "10";
    public static final String LISTAS_POSTEO = "60";
    public static final String POSTEADA = "70";
    public static final String EN_RESOLUCION = "75";
    public static final String ECONOMIA = "81";

    /* CONTROL CAMBIO DE ETAPAS */
    public static final String DEV_ACTIVO = "1";
    public static final String NOTIFICADA = "77";
    public static final String MIN_FACTURA = "MIN";
    public static final String MAX_FACTURA = "MAX";
    public static final String ON_AUDIT = "AUDIT";
    public static final String RESOLUCION = "dc.resolucion";
    public static final String CONTRIBUYENTE = "dc.contribuyente";
    public static final String VALOR_SISTEMA = "S";
    public static final String TCCA_CONSULTA = "01";
    public static final String TCCA_REVISION = "06";
    public static final String TCCA_AUTORIZACION = "07";
    public static final String TCCA_DENEGACION = "08";
    public static final String TFCA_AUTORIZACION = "A";
    public static final String TFCA_CONSULTA = "C";
    public static final String TFCA_DENEGACION = "D";
    public static final String TFCA_IMPRESION = "I";

    /* BOLETA DE AUTORIZACION */
    public static final Double BA_MONTO_MAXIMO = 25000.00;
    public static final String BA_MONTO_DESISTIDO = "D";
    public static final String BA_INGRESADA = "P";
    public static final String BA_AUTORIZADA = "A";
    public static final String BA_DENEGADA = "D";
    public static final String BA_NAUTORIZADA = "N";

    /* ESTADOS DECLARACIONES */
    public static final String TED_REVISADA = "4";
    /* EMISION */
    public static final Integer EMISION_ACTIVA = new Integer(1);
    public static final String EMI_NATURAL = "N";
    public static final String EMI_JURIDICO = "J";
    public static final String EMI_AUTOMATICA = "A";
    public static final String EMI_RESOLUCION = "R";
    public static final String EMI_AUTORIZACION = "U";
    public static final String COMA = ", ";
    public static final Integer CERO = new Integer(0);

    /* AUTORIZACIONES */
    public final String AUT_TIPO_MONTO = "AUT_TIPO_MONTO";
    public final String AUT_RESO_REV = "AUT_RESO_REV";
    public final String AUT_ERROR_REL = "AUT_ERROR_REL";
    public final String P_SOL_FORMS = "POS_SOL_FORMS";
    public final String P_FORM_DEVOLUCIONES = "P_FORM_DEVOLUCIONES";

    /* Reportes */
    public final String SOL_PROCESO_ESTADO = "SOL_PROCESO_ESTADO";
    public final String SOL_PROCESO_FORMS = "SOL_PROCESO_FORMS";
    public final String VBOL_INSERTAR = "0R";
    public final String VBOL_AUTORIZAR = "1R";
    public final String VBOL_DENEGAR = "MR";
    public final String VBOL_NDESISTIDO = "ND";
    public final String VBOL_NPROCEDE = "NP";
    public final String VBOL_ERROR = "ER";

    /* Obligaciones */
    public static final String OBLIGACION_RENTA = "10";

    /* Formularios */
    public static final String N910 = "910";
    public static final String DEV = "DEV";
    public static final String F06 = "F06";
    public static final String F07 = "F07";
    public static final String F11 = "F11";
    public static final String F14 = "F14";
    public static final Integer F28 = 16;
    public static final Integer F36 = 11;
    public static final Integer F44 = 101;
    public static final Integer F60 = 27;
    public static final Integer F70 = 30;
    public static final Integer F111 = 33;
    public static final Integer ANULACION_CHEQUE = 38;
    public static final Integer ANULACION_DEPOSITO = 39;

    /* Anulaciones */
    public static Integer VERSION_FORMULARIO_ANULADO = 1;
    public static String ANULADO = "A";
    public static String ANULADO_TESORERIA = "R";

    /* Transacciones */
    public static Integer TRANSAC_DEVOLUCION = 500;
    public static Integer TRANSAC_CHEQUE_DEPOSITO_ANULADO = 501;

    /* Resoluciones */
    public static final String RF28 = "RE";
    public static final String RF36 = "IU";
    public static final String RF44 = "PR";
    public static final String RF60 = "6E";
    public static final String RF111 = "3";
    public static final String RF117 = "10";
    public static final String TIPO_IVA = "IVA";
    public static final String TIPO_RENTA = "RENTA";
    public static final String ACREDITAMIENTO = "A";
    public static final String COMPENSACION = "C";
    public static final String DEVOLUCION = "D";
    public static final String DEVOLUCION_RTA = "D";
    public static final String DEVOLUCION_IVA = "DI";
    public static final String DEVOLUCION_ACREDITADA = "DA";
    public static final String DEVOLUCION_EFECTIVO = "DE";
}
